package com.dilean.api.model;

import java.util.Calendar;

public interface Message extends AbstractEntity {

    public Person getSender();

    public String getData();

    public Calendar getDate();
    
    public String getDateStr();

    public Integer getPriority();

    public Conversation getConversation();

    public int getOrderNumber();

    public void setSender(Person person);

    public void setData(String data);

    public void setDate(Calendar date);

    public void setPriority(Integer priority);

    public void setConversation(Conversation conversation);

    public void setOrderNumber(int order);
}
